package com.example.demo.dao;

import com.example.demo.entity.CourseChapterBean;
import org.apache.ibatis.annotations.Mapper;
import java.util.List;

@Mapper
public interface CourseChapterDao {
    Integer add(CourseChapterBean courseChapterBean);
    Integer update(CourseChapterBean courseChapterBean);
    Integer delete(Integer id);
    CourseChapterBean getOneById(Integer id);
    List<CourseChapterBean> list(String name, String sortOrder);
    Integer count(String name);
} 